//
//  GEPrintPageRenderer.m
//  XTCloud
//
//  Created by QA on 2018/10/12.
//  Copyright © 2018年 ShangHai HaoLei Software Technology Co., Ltd. All rights reserved.
//

#import "GEPrintPageRenderer.h"

@implementation GEPrintPageRenderer

- (instancetype)init
{
    if (self = [super init]) {
        // A4纸质大小
//        CGRect rect = CGRectMake(0, 0, 210, 297);
//        // 纸张大小
//        [self setValue:[NSValue valueWithCGRect:rect] forKey:@"paperRect"];
        
        // 打印区域，如果需要间距就这样CGRectInset(pageFrame, 10.0, 10.0))
        // [self setValue:[NSValue valueWithCGRect:rect] forKey:@"printableRect"];
//        [self setValue:[NSValue valueWithCGRect:CGRectInset(rect, 10, 10)] forKey:@"printableRect"];
        // 页眉页脚
//        self.headerHeight = 50.0;
//        self.footerHeight = 50.0;
    }
    return self;
}


@end
